<?php


namespace api\home\controller;


use api\home\model\NavModel;
use cmf\controller\RestBaseController;

class NavController extends RestBaseController
{
    public function getNavList()
    {
        $nav = NavModel::select();
        $this->success('导航菜单列表',$nav);
    }
}